SG RegExp | |
Match Method |
Overview | Properties | Methods | Pattern Syntax |
Examine specified string with the regular expression, returning true if there is a match. Returns True if there is a match; False if there is no match.
object.Match(data [, startPos = 1]) As Boolean
Part | Description |
data | string to be examined |
startPos | Optional. One based index of the parsing start position. Default value is 1. |
Match method updates state of the Substrings collection. The first substring is the substring of string that matched the whole regular expression. The others are those substrings that matched parenthesized expressions within the regular expression, with parenthesized expressions numbered in left-to-right order of their opening parentheses.